package com.tyut.homework.service;

import com.tyut.homework.pojo.Apartment;
import com.tyut.homework.pojo.Dormitory;
import org.springframework.data.domain.Page;

import java.util.List;

public interface ApartmentService extends ServiceTemplate<Apartment> {
    @Override
    Apartment save(Apartment apartment);

    @Override
    int delete(Integer id);

    @Override
    int update(Apartment apartment);

    @Override
    Apartment find(Integer id);

    @Override
    Page<Apartment> getPage(Integer pageNum, Integer pageLimit);
}
